﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/themes/default/easyui.css" rel="stylesheet" />
    <link href="/themes/icon.css" rel="stylesheet" />
    <script src="/jquery-easyui-1.4.3/jquery.min.js"></script>
    <script src="/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
</head>
<body>
    <table>
        <tr>
            <td>登录名:</td>
            <td><input id="txtLoginName" type="text" /></td>
        </tr>
        <tr>
        <tr>
            <td>密码:</td>
            <td><input id="txtPassword" type="password" /></td>
        </tr>
        <tr>
            <td>真实姓名:</td>
            <td><input id="txtUserName" type="text" /></td>
        </tr>
        <tr>
            <td>性别:</td>
            <td>
                <input id="rbtnSex" type="radio" value="0" />男
                <input id="rbtnSex" type="radio" value="1" />女
            </td>
        </tr>
        <tr>
            <td>联系电话:</td>
            <td><input id="txtLinkPhone" type="text" /></td>

        </tr>
        <tr>
            <td>角色</td>
            <td>
                <select>
                    <option></option>
                    <option>1</option>
                    <option>2</option>
                </select>
            </td>

        </tr>
        <tr>
            <td>是否可以删除:</td>
            <td>
                <input id="chkSure" type="checkbox" />是
            </td>

        </tr>
        <tr>
            <td></td>
            <td>
                <input id="btnAlter" type="button" value="修改" />
            </td>

        </tr>
    </table>
    <script type="text/javascript">
        $(function ()
        {
            $("#btnAdd").click(function ()
            {
                $("#txtLoginName").validatebox({
                    required: true,
                    validType: 'currency'
                });
                $("#txtUserName").validatebox({
                    required: true,

                });
                $("#txtLinkPhone").validatebox({
                    required: true,
                    validType:'phone'

                });




            })


        })

    </script>
</body>

</html>
